package com.tonghe.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tonghe.domain.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;


/**
 * 用户表(User)表数据库访问层
 *
 * @author makejava
 * @since 2022-02-18 18:39:05
 */
@Component
public interface UserMapper extends BaseMapper<User> {

    int changeUserAvatar(@Param("userId") Long userId, @Param("url") String url);
}

